
import flexunit.framework.TestSuite;
import com.photobucket.webapi.oauth.URLEncodeTest;
import com.photobucket.webapi.oauth.OAuthRequestTest;
import com.photobucket.webapi.oauth.OAuthBaseServiceTest;
import com.photobucket.webapi.service.PhotobucketServiceTest;
import com.photobucket.webapi.objects.RemoteObjectTest;
import com.photobucket.webapi.objects.AlbumTest;
                        
private function onCreationComplete():void
{
        testRunner.test = createSuite();
        testRunner.startTest(); 
}

private function createSuite():TestSuite
{
        var ts:TestSuite = new TestSuite();

        ts.addTestSuite(URLEncodeTest);
        ts.addTestSuite(OAuthRequestTest);
        ts.addTestSuite(OAuthBaseServiceTest);
        ts.addTestSuite(PhotobucketServiceTest);
        ts.addTestSuite(RemoteObjectTest);
        ts.addTestSuite(AlbumTest);
        return ts;
}
